package com.example.anliku.mapper;
import java.util.Date;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

import com.example.anliku.entity.Download;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface DownloadMapper {
    int deleteByPrimaryKey(Integer downloadId);

    int insert(Download record);

    int insertSelective(Download record);

    Download selectByPrimaryKey(Integer downloadId);

    int updateByPrimaryKeySelective(Download record);

    int updateByPrimaryKey(Download record);

    List<Download> selectAll();

    List<Download> selectByDownloadUserId(@Param("downloadUserId")String downloadUserId);

    List<Download> selectByDownloadCaseId(@Param("downloadCaseId")String downloadCaseId);

    Integer countByDownloadCaseId(@Param("downloadCaseId")String downloadCaseId);

    Integer selectAllByDownloadTime(@Param("downloadTime")String downloadTime);


}